<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>{$pageInfo.title}</title>
    <link rel="stylesheet" href="{$sysPublic}/common/css/amazeui.min.css">
    <link rel="stylesheet" href="{$sysPublic}/common/css/fix.css">
    <link rel="stylesheet" href="{$sysPublic}/member/css/style.css">
    <script type="text/javascript" src="{$sysPublic}/common/js/jquery.min.js"></script>
    <script type="text/javascript" src="{$sysPublic}/common/js/amazeui.js"></script>
    <script type="text/javascript" src="{$sysPublic}/common/js/do.js" data-cfg-autoload="false"></script>
    <script type="text/javascript" src="{$sysPublic}/common/js/package.js" data-path="{$sysPublic}/"
            data-role="<?php echo ROLE_NAME; ?>" data-root="<?php ROOT_URL; ?>"></script>
    <script type="text/javascript" src="{$sysPublic}/member/js/lib.js"></script>
</head>
<body>
<div class="dux-other-header">
    <div class="am-container am-cf">
        <div class="header-logo">
            <a href="<?php ROOT_URL; ?>/"><img src="<?php echo ROOT_URL . '/' . $memberInfo['logo']; ?>" alt=""></a>
        </div>
        <div class="header-name">
            {$memberInfo.title}
        </div>
        <!--if{$userInfo}-->
        <div class="header-user">
            <a href="{url('member/index/index')}">{$userInfo.show_name}</a>
            <a href="{url('index/index/index')}">返回首页</a>
            <a href="{url('member/login/logout')}">退出</a>
        </div>
        <!--{else}-->
        <div class="header-info">
            已注册的会员请<a href="{url('member/login/index')}">登录</a>，或立即 <a href="{url('member/register/index')}">注册新会员</a>
        </div>
        <!--{/if}-->
    </div>
</div>
<br>
{$layout}
<div class="dux-other-footer">
    Copyright 2016 DuxShop.com, All Rights Reserved
</div>
</body>
<script>
    Do('base', function() {
        base.frame();
    });
</script>
</html>